package com.rd.student.jiaji.class4.suyan.zrrd.day16;

public class Student {
   private String name;
   private String clas;
   private String introduce;
   private  int age;
  public void description(){

  }
  public void clas(String clas){}
    public  void introduce(String introduce){

    }
    public void age(int 年龄){}
    public Student() {
    }

    public Student(String name, String clas, String introduce) {
        this.name = name;
        this.clas = clas;
        this.introduce = introduce;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClas() {
        return clas;
    }

    public void setClas(String clas) {
        this.clas = clas;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }
    public void showinfo(){
        System.out.println("姓名是："+name+"专业是："+introduce+"班级是："+clas);
    }
}
